<!-- /* Description for file.
 * 必填字段设置
 * @copyright     Copyright 2008-2010, PHInfo Services Inc. (http://www.phinfoservices.com)
 * @package       ues
 * @subpackage    ues/app/views/fieldSets
 * @since         ues
 * @version       V0.0.1
 * @modifiedby    张海杰2011年0705
 * @lastmodified  张海杰2011年0705
 */
 -->
<?php
echo $javascript->link ( 'jquery' );

//print_r($customertypes);
?>
<!-- 当前位置-->
<div id="tabmenubar">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td class="tabmenubartitle1"><?php echo  __('YourPosition');//您现在的位置：?></td>
		<td class="tabmenubartitle2"><?php echo __('Systemconfigs');//一级目录
										   echo '>';echo __('Othersetting');//二级目录
										   echo '>';?>
									<?php echo $html->tag('span', __($table.'RequiredFields',true));//当前操作地用span加粗?> 						  
		</td>
	</tr>
</table>
</div>
<!-- 当前位置-->
<div class="tabflex">
<?php echo $form->create('Systemconfig',array('action'=>'fieldSet'));?>
<fieldset><legend><?php echo __('Fields  Set')?></legend>
	<table style="text-align:left">
		<tr>
		<?php 
		$i=-1;
		foreach($fields as $k=>$v)
		{
			$i++;
			if($i%6==0)
			{
				echo "</tr><tr>";
			}
			if($v==1)
			{
				$checked="true";
			}
			else
			{
				$checked="false";
			}
			echo "<td width='200'>";
			echo $form->checkbox("$k", array('value' => "1",'checked'=>"$checked"));
			echo __("$table"."$k");
			echo "</td>";
		}
		?>
		</tr>
	</table>
</fieldset>
<?php echo $form->hidden('table',array('value'=>"$table"));?>
<?php echo $form->button('确定',array('type'=>'submit','class'=>'addsubmit'));?>
<?php echo $form->button('重置',array('type'=>'reset','class'=>'resetsubmit'));?>  <!-- __('reset', true)取消-->
<?php echo $form->end();?>
</div>





